FROM ubuntu:16.04

ENV DEBIAN_FRONTEND noninteractive

COPY ./.condarc /root/

RUN apt-get update; 

RUN apt-get install -y wget; \
    wget --no-check-certificate https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh; \
    bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda;\
    eval "$(/root/miniconda/bin/conda shell.bash hook)";\
    conda init; \
    pip install  -i https://pypi.tuna.tsinghua.edu.cn/simple pyyaml; \
    conda install -y pytorch cudatoolkit=10.0 -c pytorch; \
    conda install -y matplotlib pandas scikit-learn scikit-learn-intelex;

WORKDIR /evolveGCN
ENTRYPOINT /bin/bash

